Softly safely spoken: Role playing for Session Types

نویسندگان

  • Elena Giachino
  • Matthew Sackman
  • Sophia Drossopoulou
  • Susan Eisenbach
چکیده

Session types have made much progress at permitting programs be statically verified concordant with a specified protocol. However, it is difficult to build abstractions of, or encapsulate Session types, thus limiting their flexibility. Global session types add further constraints to communication, by permitting the order of exchanges amongst many participants to be specified. The cost is that the number of participants is statically fixed. We introduce Roles in which, similarly to global session types, the number of roles and the conversations involving roles are statically known, but participants can dynamically join and leave roles and the number of participants within a role is not statically known. Statically defined roles which conform to a specified conversation can be dynamically instantiated, participants can be members of multiple roles simultaneously and can participate in multiple conversations concurrently.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Effect of Role-Playing Educational Intervention on the Expectation of Childbirth Experience in Primiparous Pregnant Women

 Aim: Childbirth, as women’s most special experience, is associated with negative understandings of mothers, which would be a reason for increasing the rate of cesarean section. Role training is a new educational method that facilitates the visualization of childbirth. The present study was conducted to determine the effect of role-playing training on the expectation of childbirth experience of...

متن کامل

Multi-session management in dialogue-spoken system

In order to increase the role of machines in supporting more capabilities as regards a dialogue-spoken system, we present in this paper a new problem incorporating multi-session in such a system. Instead of only handling single dialogue, such a system can take an intermediary role to communicate with many users in several discontinued sessions for reaching a compromise between them. We describe...

متن کامل

Session T2G OFF TO SEE THE WIZARD: USING A “WIZARD OF OZ” STUDY TO LEARN HOW TO DESIGN A SPOKEN LANGUAGE INTERFACE FOR PROGRAMMING

We are in the early stages of developing a spoken language interface that will help beginners write programs. Our goal is a system in which a student will talk to a computer using English sentences, in response to which the computer will generate syntactically correct Java source code. We believe that such a system would help beginning students by allowing them to focus on concepts instead of s...

متن کامل

Multi-session dialogue modeling and management in spoken dialogue system

We present in this paper a new problem incorporating the multi-session dialogue of a spoken dialogue system. Instead of engaging a single user in a dialogue, we aim at building a dialogue system that allows engage in a dialogue with multiple successive users. The system can then take an intermediary role to communicate with many users in several discontinuous sessions for reaching a good compro...

متن کامل

Session Types with Gradual Typing

Session types enable fine-grained static control over communication protocols. Gradual typing is a means to safely integrate statically and dynamically typed program fragments. We propose a calculus for synchronous functional two-party session types, augment this calculus with a dynamically typed fragment as well as coercion operations between statically and dynamically typed parts, and establi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009